<!DOCTYPE HTML>
<html>
    <body>
        $body
        <br>
        <br>
        <ul>
            #set ($foo = 'one')
            #foreach ( $a in $array)
            #if ($a == $foo)
            <li>
                $a
            </li>
            #end
            #end
        </ul>
    </body>
	
</html>